package com.koron.order.linepatrol.satellite.service;

import com.koron.order.linedefect.base.bean.po.DefectBean;
import com.koron.order.risk.base.bean.po.LineRisk;
import org.koron.ebs.mybatis.SessionFactory;

/**
 * @author jzp
 * @since 2023/3/3
 */
public interface LinePatrolReferer {

    boolean refDefect(SessionFactory factory, DefectBean defectBean);

    boolean refRisk(SessionFactory factory, LineRisk lineRisk);

    boolean defectRefToSatellite(SessionFactory factory, DefectBean defectBean);

    boolean defectRefToSatelliteMonitor(SessionFactory factory, DefectBean defectBean);

    boolean defectRefToUavDefect(SessionFactory factory, DefectBean defectBean);

    boolean defectRefToUavRisk(SessionFactory factory, DefectBean defectBean);

    boolean riskRefToSatellite(SessionFactory factory, LineRisk lineRisk);

    boolean riskRefToSatelliteMonitor(SessionFactory factory, LineRisk lineRisk);

    boolean riskRefToUavRisk(SessionFactory factory, LineRisk lineRisk);

}
